package com.site.wisdom_construction.service.publicModule;

import com.site.wisdom_construction.dao.publicModule.HonorWorkersTypeDao;
import com.site.wisdom_construction.entity.publicModule.HonorWorkersType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/8
 * @Description
 */
@Service
public class HonorWorkersTypeService implements HonorWorkersTypeDao {
    @Autowired
    private HonorWorkersTypeDao honorWorkersTypeDao;

    @Override
    public int insertHonorWorkersType(Map map) {
        return honorWorkersTypeDao.insertHonorWorkersType(map);
    }

    @Override
    public int deleteHonorWorkersType(Map map) {
        return honorWorkersTypeDao.deleteHonorWorkersType(map);
    }

    @Override
    public int updateHonorWorkersType(Map map) {
        return honorWorkersTypeDao.updateHonorWorkersType(map);
    }

    @Override
    public List<HonorWorkersType> findHonorWorkersTypePage(Map map) {
        return honorWorkersTypeDao.findHonorWorkersTypePage(map);
    }

    @Override
    public long Total(Map map) {
        return honorWorkersTypeDao.Total(map);
    }

    @Override
    public List<HonorWorkersType> selectHonorWorkersType() {
        return honorWorkersTypeDao.selectHonorWorkersType();
    }

    @Override
    public List<HonorWorkersType> findHonorWorkersTypeName(Map map) {
        return honorWorkersTypeDao.findHonorWorkersTypeName(map);
    }
}
